package service;

import mapper.Point24Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pojo.Point24;

import java.util.List;

@Service
public class Point24ServiceImpl implements Point24Service {
    @Autowired(required = false)
    Point24Mapper point24Mapper;

    @Override
    public int add(Point24 point24) {
        return point24Mapper.add(point24);

    }


    public List<Point24> list(String numbers) {
        return point24Mapper.list(numbers);
    }

}